/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package czStvDpds.graphics3D.gui;

/**
 * Interface pro kontejnery na principu CardLayoutu. Zarizuje layoutovani a
 * podobne blbinky. Pouziva se v zasade stejne jako JPanel ve Swingu s
 * CardLayoutem.
 *
 * @author Ondra
 */
public interface LCardContainer extends LContainer {

    /**
     * prida do containeru komponentu
     *
     * @param component
     * @param index
     */
    public void addComponent(LComponent component, int index);

    /**
     * odebere danou komponantu z kontejneru
     *
     * @param component
     */
    public void removeComponent(LComponent component);

    /**
     * odebere indexem specifikovanou komponentu z kontejneru
     *
     * @param index
     */
    public void removeComponent(int index);

    /**
     * zobrazi danou komponentu
     *
     * @param index
     */
    public void showComponent(int index);

    /**
     * zobrazi danou komponentu
     *
     * @param component
     */
    public void showComponent(LComponent component);
}
